home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Aug 90 / MacApp.Tech$ 8⁄3⁄90 / 1688-More on ViewEdit bug-Aug90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  31 lines  |  [TEXT/GEOL]

  1. Item    2991955                         2-Aug-90        17:47PDT
  2.  
  3. From:   FREDENBURG                      Fredenburg, Timothy,PRT
  4.  
  5. To:     MACDTS                          Macintosh Developer Tech Supt
  6.         MACAPP.TECH$                    MacApp Technical
  7.         KNEPPER                         Knepper, Christopher
  8.         ROBSON                          Robson, Jack
  9.         MOOF                            Rollin, Keith A
  10.  
  11. Sub:    More on ViewEdit bug
  12.  
  13. My original message:
  14.  
  15. ViewEdit 1.0 crashed on me about 10 seconds into the first time I used it.  The
  16. crash is repeatable.  Create a new resource.  Click on the cross cursor.  Drag
  17. out a rectangle.  Undo.  Drag out a rectangle.  Boom.
  18.  
  19.  
  20. Several people wrote back that they couldn't reproduce the bug.  The bus error
  21. occurs if you have an odd value at address 0 (which The Debugger was doing for
  22. me automatically).  What's happening is that ViewEdit is doing a DisposControl
  23. on a control whose owner is either not a window or a window that has a nil
  24. update region.  It's hard to tell which; the owner is allocated on the stack
  25. and is not in the window list.  The DisposControl or something it calls does an
  26. InvalRgn which calls UnionRgn with nil for two of its RgnHandle arguments which
  27. then gets a bus error.
  28.  
  29.     Tim
  30.  
  31.